package org.victoriest.server.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class RoomModel implements Serializable, VictoriestDto {

	private static final long serialVersionUID = 8810384361587999116L;

	private int roomOwnerChannelId;
	
	private String name;
	
	private int roomLimit;
	
	private List<Integer> users;

	public RoomModel(){}
	
	public RoomModel(int roomOwner, String name){
		this.roomOwnerChannelId = roomOwner;
		this.name = name;
		this.roomLimit = 8;
		this.users = new ArrayList<Integer>();
		this.users.add(roomOwnerChannelId);
	}
	
	public int getRoomOwnerChannelId() {
		return roomOwnerChannelId;
	}

	public void setRoomOwnerChannelId(int roomOwnerChannelId) {
		this.roomOwnerChannelId = roomOwnerChannelId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getRoomLimit() {
		return roomLimit;
	}

	public void setRoomLimit(int roomLimit) {
		this.roomLimit = roomLimit;
	}

	public List<Integer> getUsers() {
		return users;
	}

	public void setUsers(List<Integer> users) {
		this.users = users;
	}
	
}
